package com.hzh.page.service;


import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hzh.page.pojo.AuthenticationMenuEntity;
import com.hzh.page.pojo.AuthenticationUser;
import com.hzh.page.vo.AuthenticationUserVO;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

/**
 * 接口
 *
 * @author chenzw
 * @date 2022-11-03
 */
public interface AuthenticationUserService extends IService<AuthenticationUser> {

    void updateUser(AuthenticationUserVO userVO);

    AuthenticationUserVO getUserInfoById(Integer id);

    IPage<AuthenticationUserVO> listPage(Page<AuthenticationUser> pageParam, HttpServletRequest request);

    void deleteUser(Integer userId);

    void updateStatus(Integer userId, Boolean roleState);

    List<AuthenticationMenuEntity> getMenusByUserId(Integer userId);

}
